Class SuperpixelStereo
Defined in File structures.h
Inheritance Relationships
Base Type
public Superpixel
(Class Superpixel)
Class Documentation
-
class SuperpixelStereo : public Superpixel
Public Functions
-
inline SuperpixelStereo(int _id)
-
inline virtual ~SuperpixelStereo()
-
inline virtual void AddPixelInit(PixelData &pd) override
-
inline virtual void AddPixel(PixelData &pd) override
-
inline virtual void RemovePixel(const PixelData &pd) override
-
inline double GetDispSum()
-
inline double GetPriorEnergy() const
-
inline double GetSmoEnergy()
-
void SetPlane(Plane_d &plane)
-
void UpdateDispSum(const cv::Mat1d &depthImg, double inlierThresh, double noDisp)
-
void CalcPlaneLeastSquares(const cv::Mat1d &depthImg)
-
template<class It, class Pr>
inline void CalcPlaneLeastSquaresI(It from, It to, Pr pred, const cv::Mat1d &depthImg, double weightFactor)
-
inline void CalcPlaneLeastSquaresI(const BorderDataMap &bdMap, const cv::Mat1d &depthImg, double weightFactor, int peblThreshold)
-
inline void CalcPlaneLeastSquares(const BorderDataMap &bdMap, const cv::Mat1d &depthImg, double weightFactorCo, double weightFactorHi, int peblThreshold)
-
inline void AddToDSums(double w, const Plane_d &plane, double &sumRowD, double &sumColD, double &sumD)
-
inline void ClearPixelSet()
-
inline void AddToPixelSet(Pixel *p1)
-
void GetRemovePixelDataStereo(const PixelData &pd, PixelChangeDataStereo &pcd) const
-
void GetAddPixelDataStereo(const PixelData &pd, PixelChangeDataStereo &pcd) const
-
double CalcDispEnergy(const cv::Mat1d &dispImg, double inlierThresh, double noDisp)
-
void CheckAppEnergy(const cv::Mat &img)
-
void CheckRegEnergy()
Public Members
-
double sumDisp = 0.0
-
double sumIRow = 0
-
double sumICol = 0
-
double sumIRow2 = 0
-
double sumICol2 = 0
-
double sumIRowCol = 0
-
double sumIRowD = 0.0
-
double sumIColD = 0.0
-
double sumID = 0.0
-
int nI = 0
-
std::unordered_set<Pixel*> pixels
-
BorderDataMap boundaryData
-
Plane_d plane
-
inline SuperpixelStereo(int _id)